import yaml
config_data = yaml.safe_load(open("./config.yaml",encoding='utf-8'))

DATABASE_URL = config_data["DATABASE_URL"]
USER_STORAGE_PATH = config_data["USER_STORAGE_PATH"]
SECRET_KEY = config_data["SECRET_KEY"]
ALGORITHM = config_data["ALGORITHM"]
ACCESS_TOKEN_EXPIRE_MINUTES = config_data["ACCESS_TOKEN_EXPIRE_MINUTES"]

__all__ = ["DATABASE_URL", "USER_STORAGE_PATH",
           "SECRET_KEY", "ALGORITHM", "ACCESS_TOKEN_EXPIRE_MINUTES"]
